package ${package.Service};

import ${package.Entity}.${entity};
import ${package.Entity}.${cfg.vo};
import ${package.Entity}.${cfg.bo};
import ${package.Entity}.${cfg.updateBO};
import ${superServiceClassPackage};
import com.eairlv.cli.utils.request.PageBO;
import com.eairlv.cli.utils.request.PageVO;

/**
 * <p>
 * ${table.comment!} 服务类
 * </p>
 *
 * @author ${author}
 * @since ${date}
 */
public interface ${table.serviceName} extends ${superServiceClass}<${entity}> {

    /**
     * <p>
     * 通过ID获取对象
     * </p>
     *
     */
    public ${cfg.vo} get(Integer id);
    /**
     * <p>
     * 新增对象
     * </p>
     *
     */
    public Object add(${cfg.bo} ${cfg.boVariable});

    /**
     * <p>
     * 修改对象
     * </p>
     *
     */
    public void update(${cfg.updateBO} ${cfg.updateBOVariable});

    /**
     * <p>
     * 删除对象
     * </p>
     *
     */
    public void delete(Long id);

    /**
     * <p>
     * 获取分页对象
     * </p>
     *
     */
    public PageVO<${cfg.vo}> pageView(PageBO pageBO);
}
